package com.sneakxy.cloudbase.platform.bean;

import lombok.Data;
import springfox.documentation.service.Contact;

@Data
public class SwaggerContact {
	
	private String name;
	private String url;
	private String email;
	
	public Contact toContact() {
		return new Contact(getName(), getUrl(), getEmail());
	}
	
}
